<link rel="stylesheet" type="text/css" href="<?=gurl('css');?>/home.css" />
<div class="login">
<? if($account):?>
<a href="/home/profile/<?=$account["account_id"];?>"><?=$account["account_username"];?></a><a href="<?=gurl('accounts/logout');?>">退出</a><a href="<?=gurl('about/contact');?>">建议</a>
<? else:?>
<a href="<?=gurl('accounts/');?>">登录</a><a href="<?=gurl('accounts/');?>">注册</a><a href="<?=gurl('about/contact');?>">建议</a>
<? endif;?>
</div>
<div class="w960">
	<div class="w660">
		<div class="smallCon">
			<h1><span class="left"><?=$message["mtitle"];?></span><span class="backprev"><a href="/home/inbox/<?=$userinfo["id"];?>">返回我的邮箱</a></span></h1>
            <div class="blank8"></div>
			<div class="mailCon">
            	<h4><?=$message["mstr"];?><a href="<? if($message["muserid"]>0):?>/home/profile/<?=$message["muserid"];?><? else:?><?=gurl('/');?><? endif;?>"><?=$message["muser"];?></a></h4>
                <h2><?=$message["title"];?></h2>
				<p class="time"><?=date("Y-m-d H:i",$message["addtime"]);?></p>
                <p class="mailArticle">
                	<?=nl2br($message["description"]);?>
                </p>
                <div class="blank8"></div>
                <form method="POST" action="<?=gurl('/home/delete/'.$account['account_id']);?>">
                <p class="replyBox"><? if($message["muserid"]>0):?><input type="button" value="<? if($message["box"] == "outbox"):?>写信<? else:?>回信<? endif;?>" onclick="window.location='<?=gurl('home/message/'.$account['account_id'].'/'.$message["muserid"]);?>'" class="airIco" /> <? endif;?><input type="submit" name="dosubmit" id="dosubmit" onclick="return confirm('确认删除吗');" value="删除" class="airIco" /></p>
                <input type="hidden" name="messageid" id="messageid" value="<?=$message["id"];?>">
                <input type="hidden" name="box" id="box" value="<?=$message["box"];?>">
            	</form>
            </div>
			<div class="blank8"></div>	
		</div>
	</div>
	
	<div class="hackbox"></div>
</div>